package com.qf.demo;

import java.util.Arrays;

/**
 * projectName: Demo1
 *
 * @author dongshihao
 * Date:2021/9/22   10:29
 * description:  数组定义
 */
public class Demo1 {
    public static void main(String[] args) {
        float[][] q = new float[6][];

        float w[][] = new float[6][];

        float[] e[] = new float[6][];

        //1必须指定一维数组的长度
        float[][] r = new float[6][6];


        int[] a = {1, 2, 3, 4, 5, 6};
        System.arraycopy(a, 3, a, 3 + 1, 3);
        a[3] = 7;
        System.out.println(Arrays.toString(a));

    }
}
